<?php 
namespace Popshouse\AdminBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class LinkForm extends AbstractType
{
    
	public function buildForm(FormBuilder $builder, array $options)
	{
        $builder->add('afbeelding','hidden');
        $builder->add('title','text');
        $builder->add('description');
        $builder->add('lang','choice',array('choices'=>array("nl"=>"Nederlands","fr"=>"Frans","en"=>"Engels","de"=>"Duits")));
        $builder->add('url');
    }

    public function getDefaultOptions(array $options)
    {
        return array(
            'data_class' => 'Popshouse\SiteBundle\Entity\Link',
        );
    }


}